import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import vant from 'scripts/lib/vant'
import GlobalMixins from 'scripts/mixins/global'
import api from 'scripts/utils/request'

const app = createApp(App)
app.config.globalProperties.$api = api

app
  .use(store)
  .use(router)
  .use(vant)
  .mixin(GlobalMixins)
  .mount('#app')
